/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package posicion;

/**
 *
 * @author martin
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Main main = new Main();
        main.printMessage(Language.ENGLISH);
        main.printMessage(Language.ESPANOL);
        main.printMessage(Language.FRANCAIS);
               
        Test t = new Test ();
        t.setAlgo("uno");
        t.persist();
        

        // TODO code application logic here
    }
    
    void printMessage(Language language) {
        String message = null;
        switch (language) {
            case FRANCAIS: message = "Bonjour le monde";
            break;
        case ESPANOL:
            message = "Hola Mundo";
            break;
        default:
            message = "Hello World";
        }
        System.out.println(message);
    }
    
    enum Language {
        ENGLISH, FRANCAIS, ESPANOL
    }



}
